package com.buka.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.buka.entity.ProductTask;
import com.buka.message.ProductMessage;
import com.buka.request.LockProductRequest;
import com.buka.util.JsonData;

/**
 * (ProductTask)表服务接口
 *
 * @author makejava
 * @since 2025-08-13 14:07:04
 */
public interface ProductTaskService extends IService<ProductTask> {

    JsonData reduce(LockProductRequest request);

    boolean releaseStock(ProductMessage productMessage);
}

